A servlet is a Java class which is used to extend the capabilities of servers that host applications accessed by means of a request-response model. Servlets are mainly used to extend the applications hosted by webs servers, however, they can respond to other types of requests too. For such applications, HTTP-specific servlet classes are defined by Java Servlet technology.
- it plays a controller role in MVC approach
- it can accept all protocol requests
- reloading,recompiling and restarting the server
Liked By
Write Answer
what is java Servlet ?
Join MindStick Community
You have need login or register for voting of answers or question.
Prakash nidhi Verma
18-Jul-2018Java Servlets :
A servlet is a Java class which is used to extend the capabilities of servers that host applications accessed by means of a request-response model. Servlets are mainly used to extend the applications hosted by webs servers, however, they can respond to other types of requests too. For such applications, HTTP-specific servlet classes are defined by Java Servlet technology.
- it plays a controller role in MVC approach
- it can accept all protocol requests
- reloading,recompiling and restarting the server